Skip to content

Comments

fix: 修复 There is no getter for property named 'delegate' 问题#7

Open
ycmingo wants to merge 1 commit intojd-opensource:masterfrom
ycmingo:hotfix-20240426
Open

fix: 修复 There is no getter for property named 'delegate' 问题#7
ycmingo wants to merge 1 commit intojd-opensource:masterfrom
ycmingo:hotfix-20240426

Conversation

@ycmingo
Copy link

@ycmingo ycmingo commented Apr 26, 2024

com.jd.sql.analysis.extract.SqlExtract#extract方法中的:

boolean hasGetter = delegateMetaObject.hasGetter("h");
if (hasGetter) {
delegateMetaObject = MetaObjectUtil.forObject(delegateMetaObject.getValue("h"));
delegateMetaObject = MetaObjectUtil.forObject(delegateMetaObject.getValue("target"));
}

有些情况下还是会出现【There is no getter for property named 'delegate' 】的异常信息

@huangkemingyyds
Copy link

目前应该是定义多个 Interceptor 的时候 获取不到代理对象

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants